<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>商品信息·</title>
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="./css/bootstrap.min.css" rel="stylesheet">
        <link href="./css/bootstrap.min.css" rel="stylesheet">
    <link href="./css/signin.css"  rel="stylesheet"> 
  </head>
  <body style="background-color:#eee">
  <br>
     <h2 class="sub-header">用户信息列表</h2>
	 <br>
          <div class="table-responsive">
            <table class="table table-striped">
              <thead>
                <tr>
                  <th>用户Id</th>
                  <th>用户名称</th> 
                  <th>注册时间</th>
			      <th>用户修改</th>
			      <th>用户删除</th>
                </tr>
              </thead>
              <tbody>
			  <c:forEach items="${requestScope.allUsers}" var="user">
			
                <tr>
			   <td style="text-align:center; line-height:50px;"><span style="float:left">${user.userId}</span></td>
			    <td style="text-align:center; line-height:50px;"><span style="float:left">${user.userName}</span></td>
			   <td style="text-align:center; line-height:50px;"><span style="float:left">${user.regisTime}</span></td>
			   <td style="text-align:center; line-height:50px;"><span style="float:left"><a href="${pageContext.request.contextPath}/admin/admin_updateView?user.userId=${user.userId} ">修改</a></span></td>
			   <td style="text-align:center; line-height:50px;"><span style="float:left"><a href="${pageContext.request.contextPath}/admin/admin_delete?user.userId=${user.userId} ">删除</a></span></td>
                </tr>
			
		</c:forEach>
			 
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
    <script src="../js/jquery-3.0.0.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
  </body>
</html></em>